/**
 * 
 */
package com.dy.agent.agent.api.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.dy.agent.agent.api.dal.mapper.AnchorHistoryMapper;
import com.dy.agent.agent.api.model.entiry.AnchorHistory;
import com.dy.agent.agent.api.service.AnchorHistoryService;

/**
 * @author macbook
 *
 */
@Service
public class AnchorHistoryServiceImpl implements AnchorHistoryService{

	@Resource
	private AnchorHistoryMapper anchorHistoryMapper;

	@Override
	public void insertOrUpdate(AnchorHistory anchorHistory) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public AnchorHistory getByUid(Long uid) {
		AnchorHistory his = new AnchorHistory();
		his.setUid(uid);
		return anchorHistoryMapper.selectOne(his);
	}
	
	
}
